home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 42
/
Amiga Format AFCD42 (Issue 126, Aug 1999).iso
/
-serious-
/
programming
/
other
/
wild
/
include
/
clvoppc
/
drawmodule_lib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-05-25
|
2KB
|
52 lines
#include <exec/types.h>
extern ULONG CallModule68kc(__reg("r7") LONG offset,__reg("r8") struct WildModule *BASE,__reg("r3") LONG d0arg,__reg("r4") LONG d1arg,__reg("r5") LONG *a0arg,__reg("r6") LONG *a1arg);
#ifndef _LVOSetModuleTags
#define _LVOSetModuleTags -30
#define SetModuleTags(A0,A1) \
CallModule68kc(_LVOSetModuleTags,DrawModuleBase,0,0,((LONG *)A0),((LONG *)A1))
#endif
#ifndef _LVOGetModuleTags
#define _LVOGetModuleTags -36
#define GetModuleTags(A0,A1) \
CallModule68kc(_LVOGetModuleTags,DrawModuleBase,0,0,((LONG *)A0),((LONG *)A1))
#endif
#ifndef _LVOSetupModule
#define _LVOSetupModule -42
#define SetupModule(A0,A1) \
CallModule68kc(_LVOSetupModule,DrawModuleBase,0,0,((LONG *)A0),((LONG *)A1))
#endif
#ifndef _LVOCloseModule
#define _LVOCloseModule -48
#define CloseModule(A0) \
CallModule68kc(_LVOCloseModule,DrawModuleBase,0,0,((LONG *)A0),0)
#endif
#ifndef _LVORefreshModule
#define _LVORefreshModule -54
#define RefreshModule(A0) \
CallModule68kc(_LVORefreshModule,DrawModuleBase,0,0,((LONG *)A0),0)
#endif
#ifndef _LVODRWPaintArray
#define _LVODRWPaintArray -60
#define DRWPaintArray(A0,A1) \
CallModule68kc(_LVODRWPaintArray,DrawModuleBase,0,0,((LONG *)A0),((LONG *)A1))
#endif
#ifndef _LVODRWInitFrame
#define _LVODRWInitFrame -66
#define DRWInitFrame(A0) \
CallModule68kc(_LVODRWInitFrame,DrawModuleBase,0,0,((LONG *)A0),0)
#endif
#ifndef _LVODRWInitTexture
#define _LVODRWInitTexture -72
#define DRWInitTexture(A0,A1) \
CallModule68kc(_LVODRWInitTexture,DrawModuleBase,0,0,((LONG *)A0),((LONG *)A1))
#endif